#include "Solution.h"
#include <iostream>
int main()
{
	int nums[] = {-2,1,-3,4,-1,2,1,-5,4};
	cout<<Solution().maxSubArray(nums,sizeof(nums)/sizeof(int));
	cin.get();
}